package com.atmc.mapper;

import com.atmc.bean.Authority;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AuthorityMapper {
    List<Authority> selectAll();
    Authority selectOne(@Param("acco_name")String acco_name);
    int updateOne(Authority authority);
}
